<template>
  <div class="hotel-list-wrap">
    <hotel-item v-for="hotel in hotelList" :hotel-info="hotel" :key="hotel.id"></hotel-item>
  </div>
</template>

<script>
  import HotelItem from './Sub.vue';

  export default {
    name: 'HotelList',
    props:{
      hotelList:Array
    },
    components:{
      'hotel-item':HotelItem
    }
  }
</script>

<style lang="scss" scoped="scoped">
  @import '~styles/mixins.scss';
  @import '~styles/variables.scss';

  .hotel-list-wrap {
    @include flex-column;
    width: 100%;
    background-color: #FFFFFF;
  }
</style>
